package org.example.design.adapter;

/**
 * @Auther:Liu
 * @Testname:App
 * @Date:2025/8/15 15:08
 */
public class App {
    public static void main(String[] args) {
        phone phone = new phone();
        Power power = new Power();
        PowerAdapter powerAdapter = new PowerAdapter(phone, power);
       phone.charge(powerAdapter);
    }
}
